package com.usian.api.admin;

import com.usian.model.admin.dtos.ChannelDto;
import com.usian.model.admin.pojos.AdChannel;
import com.usian.model.common.dtos.ResponseResult;
import io.swagger.annotations.Api;

@Api(value = "频道管理",tags = "channel",description="频道管理API")
public interface AdChannelControllerApi {
    //根据名称分页查询频道列表
    public ResponseResult findPage(ChannelDto dto);
    //新增
    public ResponseResult save(AdChannel adChannel);
    //修改
    public ResponseResult update(AdChannel adChannel);
    //删除
    public ResponseResult deleteById(Integer id);
    //查询所有频道
    public ResponseResult findAll();
}
